const state = {
    params: {
        name: "张三"
    }
};
const mutations = {
    setParams: (state, params) => {
        state.params = params;
    }
};
const actions = {
    setParams({ commit }, params) {
        commit("setParams", params);
    }
};
const getters = {
    getParams: state => {
        return state.params;
    }
};
export default {
    namespaced: true,
    state,
    mutations,
    actions,
    getters
};
